<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title><?php echo $title; ?></title>
<link rel="stylesheet" type="text/css" href="/assets/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="/assets/fonts/line-icons.css">
<link rel="stylesheet" type="text/css" href="/assets/css/icons.css">
<link rel="stylesheet" type="text/css" href="/assets/plugins/morris/morris.css">
<link rel="stylesheet" type="text/css" href="/assets/css/main.css">
<link rel="stylesheet" type="text/css" href="/assets/css/responsive.css">
</head>

<body>
<div class="app header-default side-nav-dark">
    <div class="layout">
        <div class="header navbar">
            <div class="header-container">
                <!--  主页图标  -->
                <div class="nav-logo">
                    <a href="/<?php echo site_url('dashboard'); ?>">
                        <b><img src="/assets/img/logo.png" alt=""></b>
                        <span class="logo">
                                <img src="/assets/img/logo-text.png" alt="">
                            </span>
                    </a>
                </div>
                <!--  左边导航控制器  -->
                <ul class="nav-left">
                    <li>
                        <a class="sidenav-fold-toggler" href="javascript:void(0);">
                            <i class="lni-menu"></i>
                        </a>
                        <a class="sidenav-expand-toggler" href="javascript:void(0);">
                            <i class="lni-menu"></i>
                        </a>
                    </li>
                </ul>
                <ul class="nav-right">
                    <li class="user-profile dropdown dropdown-animated scale-left">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                            <img class="profile-img img-fluid" src="/assets/img/avatar/avatar.jpg" alt="">
                        </a>
                        <ul class="dropdown-menu dropdown-md">
                            <li>
                                <ul class="list-media">
                                    <li class="list-item avatar-info">
                                        <div class="media-img">
                                            <img src="/assets/img/avatar/avatar.jpg" alt="">
                                        </div>
                                        <div class="info">
                                            <span class="title text-semibold">Felix</span>
                                            <span class="sub-title">Dev</span>
                                        </div>
                                    </li>
                                </ul>
                            </li>
                            <li role="separator" class="divider"></li>
                            <li>
                                <a href="#">
                                    <i class="lni-cog"></i>
                                    <span>Setting</span>
                                </a>
                            </li>
                            <li>
                                <a href="#">
                                    <i class="lni-user"></i>
                                    <span>Profile</span>
                                </a>
                            </li>
                            <li>
                                <a href="#">
                                    <i class="lni-envelope"></i>
                                    <span>Inbox</span>
                                    <span class="badge badge-pill badge-primary pull-right">2</span>
                                </a>
                            </li>
                            <li>
                                <a href="/<?php echo site_url('login/logout'); ?>">
                                    <i class="lni-lock"></i>
                                    <span>Logout</span>
                                </a>
                            </li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
        <!--  左侧导航栏  -->
        <div class="side-nav expand-lg">
            <div class="side-nav-inner">
                <ul class="side-nav-menu">
                    <li class="side-nav-header">
                        <span>导航</span>
                    </li>
                    <li class="nav-item">
                        <a href="/<?php echo site_url('dashboard'); ?>">
                                <span class="icon-holder">
                                    <i class="lni-dashboard"></i>
                                </span>
                            <span class="title">Dashboard</span>
                        </a>
                    </li>
                    <li class="nav-item">
                        <a href="/<?php echo site_url('subs'); ?>">
                                <span class="icon-holder">
                                    <i class="mdi mdi-book-variant"></i>
                                </span>
                            <span class="title">公众号</span>
                        </a>
                    </li>
                    <li class="nav-item">
                        <a href="/<?php echo site_url('pages'); ?>">
                                <span class="icon-holder">
                                    <i class="mdi mdi-book-open-page-variant"></i>
                                </span>
                            <span class="title">文章</span>
                        </a>
                    </li>
                    <li class="nav-item">
                        <a href="/<?php echo site_url('users'); ?>">
                                <span class="icon-holder">
                                    <i class="mdi mdi-account"></i>
                                </span>
                            <span class="title">用户</span>
                        </a>
                    </li>
                    <li class="nav-item">
                        <a href="/<?php echo site_url('resources'); ?>">
                                <span class="icon-holder">
                                    <i class="lni-layers"></i>
                                </span>
                            <span class="title">资源</span>
                        </a>
                    </li>
                </ul>
            </div>
        </div>
        <!--  主页内容  -->
        <div class="page-container">
